import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import { Tabbar, TabbarItem, Search, Swipe, SwipeItem, NavBar, Sidebar, SidebarItem, Sticky } from 'vant';
import { Form, Field } from 'vant';
import { Icon } from 'vant';

Vue.use(Icon);
Vue.use(NavBar);//顶部导航
Vue.use(Tabbar);//底部导航
Vue.use(TabbarItem);//底部导航
Vue.use(Search);//搜索框
Vue.use(Swipe);//轮播图
Vue.use(SwipeItem);//轮播图
Vue.use(Sidebar);//侧边导航
Vue.use(SidebarItem);//侧边导航
Vue.use(Sticky);//粘性布局
Vue.use(Form);//表单
Vue.use(Field);//表单



Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
